/**
 * PageMarket
 * AboutDetailActivity.java
 * com.android.pagemarket.ui.activity.setting
 * 
 */
package com.android.pagemarket.ui.activity.setting;

import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

import com.android.pagemarket.R;
import com.android.pagemarket.ui.activity.base.TemplateActivity;
import com.android.pagemarket.ui.widget.TitleBar;

/*********************************************************
 * @author : zhaohua
 * @version : 2012-12-12
 * @see : 关于详情视图
 * @Copyright : copyrights reserved by personal 2007-2012
 **********************************************************/
public class AboutDetailActivity extends TemplateActivity implements OnClickListener
{
    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        
        setContentView(R.layout.activity_about_detail);
    }

    @Override
    protected void setupTitleBar(TitleBar titleBar)
    {
        titleBar.setTitle("关于");
        titleBar.setRightVisible(false);
    }

    @Override
    public void onClick(View v)
    {
        Intent it = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:" + "0755-86026976"));
        startActivity(it);
    }
    
    public static void startActivity(Context context)
    {
        Intent it = new Intent(context, AboutDetailActivity.class);        
        context.startActivity(it);
    }
}